package com.ant.backstage.service.impl;


import com.ant.backstage.dao.GoodsMapper;
import com.ant.backstage.service.GoodsService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("goodsService")
public class GoodsServiceImpl implements GoodsService {

    private static Logger logger = LogManager.getLogger(GoodsServiceImpl.class);

    @Resource
    private GoodsMapper goodsMapper;


    @Override
    public void updateGoodsStock(String goodsScn, String count) {
        goodsMapper.updateGoodsStock(goodsScn,count);
    }
}
